import { createSlice } from "@reduxjs/toolkit";
import type { Slice } from '@reduxjs/toolkit'

export interface InitialState {
  language: 'en' | 'pt',
}

const initialState: InitialState = {
  language: 'en',
}


type Reducers = {
}
type Selectors = {}
const appSlice: Slice<InitialState, Reducers, 'app', 'app', Selectors> = createSlice<InitialState, Reducers, 'app', Selectors, 'app'>({
  name: 'app',
  initialState,
  reducers: {

  },
})

export const { }: typeof appSlice.actions = appSlice.actions

export default appSlice.reducer